home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cato / Xm / XmStringDrawImage.z / XmStringDrawImage
Text File  |  1998-10-20  |  6KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee((((3333XXXX))))     UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV     XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee - A compound string function that draws a
  10.           compound string in an X Window and creates an image
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////XXXXmmmm....hhhh>>>>
  14.  
  15.           vvvvooooiiiidddd XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee ((((_d, _w, _f_o_n_t_l_i_s_t, _s_t_r_i_n_g, _g_c, _x, _y, _w_i_d_t_h, _a_l_i_g_n_m_e_n_t,
  16.                     _l_a_y_o_u_t__d_i_r_e_c_t_i_o_n, _c_l_i_p))))
  17.                DDDDiiiissssppppllllaaaayyyy   * _d;;;;
  18.                WWWWiiiinnnnddddoooowwww    _w;;;;
  19.                XXXXmmmmFFFFoooonnnnttttLLLLiiiisssstttt_f_o_n_t_l_i_s_t;;;;
  20.                XXXXmmmmSSSSttttrrrriiiinnnngggg  _s_t_r_i_n_g;;;;
  21.                GGGGCCCC        _g_c;;;;
  22.                PPPPoooossssiiiittttiiiioooonnnn  _x;;;;
  23.                PPPPoooossssiiiittttiiiioooonnnn  _y;;;;
  24.                DDDDiiiimmmmeeeennnnssssiiiioooonnnn _w_i_d_t_h;;;;
  25.                uuuunnnnssssiiiiggggnnnneeeedddd cccchhhhaaaarrrr_a_l_i_g_n_m_e_n_t;;;;
  26.                uuuunnnnssssiiiiggggnnnneeeedddd cccchhhhaaaarrrr_l_a_y_o_u_t__d_i_r_e_c_t_i_o_n;;;;
  27.                XXXXRRRReeeeccccttttaaaannnngggglllleeee* _c_l_i_p;;;;
  28.  
  29.  
  30.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  31.           This page documents version 1.2 of the Motif library.
  32.  
  33.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  34.           XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee draws a compound string in an X Window and
  35.           paints both the foreground and background bits of each
  36.           character.  If a compound string segment uses a font list
  37.           entry that defines a font set, the graphic context passed to
  38.           this routine will have the GC font member left in an
  39.           undefined state.  The underlying XXXXmmmmbbbbSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww function
  40.           called by this routine modifies the font id field of the GC
  41.           passed into it and does not attempt to restore the font id
  42.           to the incoming value.  If the compound string segment is
  43.           not drawn using a font set, the graphic context must contain
  44.           a valid font member.  Graphic contexts created by XXXXttttGGGGeeeettttGGGGCCCC
  45.           are not accepted by this routine; instead, use XXXXttttAAAAllllllllooooccccaaaatttteeeeGGGGCCCC
  46.           to create a graphic context.
  47.  
  48.  
  49.           _d           Specifies the display.
  50.  
  51.           _w           Specifies the window.
  52.  
  53.           _f_o_n_t_l_i_s_t    Specifies the font list.
  54.  
  55.           _s_t_r_i_n_g      Specifies the string.
  56.  
  57.           _g_c          Specifies the graphics context to use.
  58.  
  59.           _x           Specifies a coordinate of the rectangle that
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee((((3333XXXX))))     UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV     XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee((((3333XXXX))))
  71.  
  72.  
  73.  
  74.                       will contain the displayed compound string.
  75.  
  76.           _y           Specifies a coordinate of the rectangle that
  77.                       will contain the displayed compound string.
  78.  
  79.           _w_i_d_t_h       Specifies the width of the rectangle that will
  80.                       contain the displayed compound string.
  81.  
  82.           _a_l_i_g_n_m_e_n_t   Specifies how the string will be aligned within
  83.                       the specified rectangle.  It is either
  84.                       XXXXmmmmAAAALLLLIIIIGGGGNNNNMMMMEEEENNNNTTTT____BBBBEEEEGGGGIIIINNNNNNNNIIIINNNNGGGG, XXXXmmmmAAAALLLLIIIIGGGGNNNNMMMMEEEENNNNTTTT____CCCCEEEENNNNTTTTEEEERRRR, or
  85.                       XXXXmmmmAAAALLLLIIIIGGGGNNNNMMMMEEEENNNNTTTT____EEEENNNNDDDD.
  86.  
  87.           _l_a_y_o_u_t__d_i_r_e_c_t_i_o_n
  88.                       Controls the direction in which the segments of
  89.                       the compound string will be laid out.  It also
  90.                       determines the meaning of the _a_l_i_g_n_m_e_n_t
  91.                       parameter.
  92.  
  93.           _c_l_i_p        Allows the application to restrict the area into
  94.                       which the compound string will be drawn.  If
  95.                       NULL, no clipping will be done.
  96.  
  97.  
  98.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  99.           XXXXmmmmSSSSttttrrrriiiinnnnggggCCCCrrrreeeeaaaatttteeee((((3333XXXX)))).
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.